/* ReactQuill 暗色主题自定义样式 */
.ql-toolbar {
  border-top: 1px solid #233554 !important;
  border-left: 1px solid #233554 !important;
  border-right: 1px solid #233554 !important;
  background-color: #112240 !important;
}

.ql-toolbar .ql-stroke {
  fill: none;
  stroke: #64ffda !important;
}

.ql-toolbar .ql-fill {
  fill: #64ffda !important;
  stroke: none;
}

.ql-toolbar .ql-picker-label {
  color: #64ffda !important;
}

.ql-toolbar button:hover,
.ql-toolbar button:focus {
  color: #64ffda !important;
  background-color: rgba(100, 255, 218, 0.1) !important;
}

.ql-toolbar button.ql-active {
  color: #64ffda !important;
  background-color: rgba(100, 255, 218, 0.2) !important;
}

.ql-container {
  border-bottom: 1px solid #233554 !important;
  border-left: 1px solid #233554 !important;
  border-right: 1px solid #233554 !important;
  background-color: #0a192f !important;
}

.ql-editor {
  color: #ccd6f6 !important;
  background-color: #0a192f !important;
  min-height: 200px;
}

.ql-editor.ql-blank::before {
  color: #8892b0 !important;
  font-style: italic;
}

.ql-editor p {
  color: #ccd6f6 !important;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3 {
  color: #64ffda !important;
}

.ql-editor blockquote {
  border-left: 4px solid #64ffda !important;
  background-color: rgba(100, 255, 218, 0.05) !important;
  color: #ccd6f6 !important;
}

.ql-editor code {
  background-color: rgba(100, 255, 218, 0.1) !important;
  color: #64ffda !important;
}

.ql-editor pre {
  background-color: rgba(100, 255, 218, 0.05) !important;
  color: #ccd6f6 !important;
  border: 1px solid #233554 !important;
}

.ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}

/* 上传组件样式 */
.ant-upload-drag {
  background-color: rgba(17, 34, 64, 0.8) !important;
  border: 2px dashed #233554 !important;
}

.ant-upload-drag:hover {
  border-color: #64ffda !important;
}

.ant-upload-drag .ant-upload-drag-icon {
  color: #64ffda !important;
}

.ant-upload-drag .ant-upload-text {
  color: #ccd6f6 !important;
}

.ant-upload-drag .ant-upload-hint {
  color: #8892b0 !important;
}

.ant-upload-list-picture-card .ant-upload-list-item {
  background-color: rgba(17, 34, 64, 0.8) !important;
  border: 1px solid #233554 !important;
}

.ant-upload-list-picture-card .ant-upload-list-item-name {
  color: #ccd6f6 !important;
}